package com.rush.manageepac.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@Data
public class Map {
    private Integer id;
    private String map;
    private String scope;
    private String comment;
    private String mname;
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")//接受
    private Date mctime;
}
